//
//  RBSearchRankTextItemView.m
//  zhongzhenglu
//
//  Created by XL on 2022/7/11.
//

#import "RBSearchRankTextItemView.h"
#import "UIView+RBAdd.h"

@interface RBSearchRankTextItemView()

@property(nonatomic, strong)IBOutlet UILabel *titleL;

@end

@implementation RBSearchRankTextItemView

- (void)awakeFromNib
{
    [super awakeFromNib];
    [self zoomSubViewsWithSelf];
}

//赋值
- (void)setBrowseModel:(RBSearchBrowseTopModel *)browseModel {
    _browseModel = browseModel;
    
    self.titleL.text = browseModel.good_name;
}
- (void)setSellModel:(RBSearchSellTopModel *)sellModel {
    _sellModel = sellModel;
    
    self.titleL.text = sellModel.goods_name;
}

@end
